package com.gitee.huanminabc.db_freedom.enums;

import lombok.Getter;

@Getter
public enum RoleEnum {
    ROLE_SUPER_ADMIN(1,"ROLE_SUPER_ADMIN", "超级管理员"),
    ROLE_ADMIN(2,"ROLE_ADMIN", "管理员"),
    ROLE_BASE(3,"ROLE_BASE", "普通用户");
    private int id;
    private String code;
    private String desc;

    RoleEnum(int id,final String code, final String desc) {
        this.id = id;
        this.code = code;
        this.desc = desc;
    }

}
